import axios  from "axios";
const mock=axios.create({
    baseURL:'/mock',
    timeout:5000
})
//响应拦截器
mock.interceptors.request.use((config)=>{
 return  config
})
//请求拦截器
mock.interceptors.response.use((response)=>{
    return response.data
})
export default mock